#include"CRectangle.h"

CRectangle::CRectangle(int a, int b) :CPolygon(a){
	height = b;
}

int CRectangle::area(){
	return width*height;
}